package com.fun_ordering.mapper;

import com.fun_ordering.pojo.FoTable;
import com.fun_ordering.pojo.FoTableExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface FoTableMapper {
    int countByExample(FoTableExample example);

    int deleteByExample(FoTableExample example);

    int deleteByPrimaryKey(Integer tableId);

    int insert(FoTable record);

    int insertSelective(FoTable record);

    List<FoTable> selectByExample(FoTableExample example);

    FoTable selectByPrimaryKey(Integer tableId);

    int updateByExampleSelective(@Param("record") FoTable record, @Param("example") FoTableExample example);

    int updateByExample(@Param("record") FoTable record, @Param("example") FoTableExample example);

    int updateByPrimaryKeySelective(FoTable record);

    int updateByPrimaryKey(FoTable record);
}